package com.yanq.liancar.activity;
/*
 *  @创建者     Administrator
 *  @创建时间   2018/11/10  17:54
 *  @描述       ${TODO}
 */


import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.TextView;

import com.gyf.barlibrary.ImmersionBar;
import com.yanq.liancar.R;
import com.yanq.liancar.activity.base.BaseToolbarActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

public class TermsOfServiceActivity extends BaseToolbarActivity {
    @BindView(R.id.tv_content)
    TextView tvContent;
    private int i;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_termsofservice);
        ButterKnife.bind(this);
        ImmersionBar.with(this).statusBarColor(R.color.white).statusBarDarkFont(true).init();
        i=getIntent().getIntExtra("where",0);

        if (i==1){
            mTvTitle.setText("隐私保护政策声明");
            tvContent.setText(R.string.Privacy);
        }else {
            mTvTitle.setText("服务合约");
            tvContent.setText(R.string.contract);
        }
    }
}
